<?php

namespace App\Models;

/**
 * App\Models\UserMessageCount
 * This is the model class for table "user_message_count_".
 *
 * @property int $id 自增ID
 * @property string $user_id 用户ID
 * @property int $message_type 消息类型，0公告，1点赞，2收藏，3评论/回复
 * @property int $count 未读消息数
 * @property int $created_at 创建时间戳
 * @property int $updated_at 更新时间戳
 *
 * @method static \Illuminate\Database\Eloquent\Builder|UserMessageCount newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|UserMessageCount newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|UserMessageCount query()
 */
class UserMessageCount extends BaseModel
{

    protected $table = "user_message_count_";
    protected $primaryKey = "id";
    protected $keyType = "int";
    public $timestamps = true;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [];

    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = [
        'created_at' => 'timestamp',
        'updated_at' => 'timestamp',
    ];
}
